package tp.pr1;

public class Place {
	private String name;
	private String description;
	private boolean isSpaceShip;
	
	public Place(java.lang.String name,
		     boolean isSpaceShip,
		     java.lang.String description)
	{
		this.name=name;
		this.isSpaceShip=isSpaceShip;
		this.description=description;
	}
	
	public boolean isSpaceship()
	{
	 return this.isSpaceShip;
	}
	
	public java.lang.String toString()
	{
		String LINE_SEPARATOR = System.getProperty("line.separator");
		return (this.name + LINE_SEPARATOR + this.description);
	}
}